Skip to content

Instantly share code, notes, and snippets.

🆕 Update: See more extensive repo here: https://github.com/marckohlbrugge/unofficial-37signals-coding-style-guide

The Unofficial 37signals/DHH Rails Style Guide

About This Document

This style guide was generated by Claude Code through deep analysis of the Fizzy codebase - 37signals' open-source project management tool.

Why Fizzy matters: While 37signals has long advocated for "vanilla Rails" and opinionated software design, their production codebases (Basecamp, HEY, etc.) have historically been closed source. Fizzy changes that. For the first time, developers can study a real 37signals/DHH-style Rails application - not just blog posts and conference talks, but actual production code with all its patterns, trade-offs, and deliberate omissions.

@serefayar
serefayar / simple_agent.clj
Created January 28, 2026 10:23
Minimal Agent Engine from Scratch with Clojure
;; ======================================================================
;; File: simple_agent.clj
;; Title: De-mystifying Agentic AI: Building a Minimal Agent Engine from Scratch with Clojure
;; Author: Seref R. Ayar
;; Article: https://serefayar.substack.com/p/minimal-agent-engine-from-scratch-with-clojure
;;
;; ======================================================================
(add-lib 'clj-http/clj-http {:mvn/version "3.12.3"})
(add-lib 'metosin/jsonista {:mvn/version "0.3.7"})
(add-lib 'metosin/malli {:mvn/version "0.13.0"})
@chenhunghan
chenhunghan / gist.md
Last active March 14, 2026 06:09
One Prompt to Save 90% Context for Any MCP Server

Local Code Mode for MCP

Most MCP servers just wrap CRUD JSON APIs into tools — I did it too with scim-mcp and garmin-mcp-app. It works, until you realize a tool call dumps 50KB+ into context.

MCP isn't dead — but we need to design MCP tools with the context window in mind.

@matthewzring
matthewzring / markdown-text-101.md
Last active March 14, 2026 06:06
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@robschmuecker
robschmuecker / README.md
Last active March 14, 2026 05:59
D3.js Drag and Drop, Zoomable, Panning, Collapsible Tree with auto-sizing.

This example pulls together various examples of work with trees in D3.js.

The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.

One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.

Dragging can be performed on any node other than root (flare). Dropping can be done on any node.

Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.

@hu553in
hu553in / install_old_chrome.sh
Last active March 14, 2026 05:58
How to download and install an old Chrome version (the Debian package)
#!/usr/bin/env bash
set -euo pipefail
# Required Chrome version can be found here:
# https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
CHROME_VERSION=""
wget --no-check-certificate \